Platform Explorer / Nuxeo Platform 6.0

Contribution org.nuxeo.ecm.platform.suggestbox.core.defaultSuggesters--suggesters

This contribution is part of XML component org.nuxeo.ecm.platform.suggestbox.core.defaultSuggesters inside nuxeo-platform-suggestbox-core-6.0.jar

Extension Point

Extension point suggesters of component SuggestionService.

Contributed Items

  • <suggester class="org.nuxeo.ecm.platform.suggestbox.service.suggesters.DocumentLookupSuggester" name="documentLookupByTitle">
          <parameters>
            <parameter name="providerName">DEFAULT_DOCUMENT_SUGGESTION</parameter>
          </parameters>
        </suggester>
  • <suggester class="org.nuxeo.ecm.platform.suggestbox.service.suggesters.DocumentSearchByPropertySuggester" name="searchByKeywords">
          <parameters>
            <parameter name="label">label.searchDocumentsByKeyword</parameter>
            <parameter name="searchField">fsd:ecm_fulltext</parameter>
            <parameter name="iconURL">/img/facetedSearch.png</parameter>
            <parameter name="description"/>
            <parameter name="disabled">false</parameter>
          </parameters>
        </suggester>
  • <suggester class="org.nuxeo.ecm.platform.suggestbox.service.suggesters.DocumentSearchByDateSuggester" name="searchByDate">
          <parameters>
            <parameter name="searchFields">fsd:dc_created,fsd:dc_modified</parameter>
            <parameter name="iconURL">/img/facetedSearch.png</parameter>
          </parameters>
        </suggester>
  • <suggester class="org.nuxeo.ecm.platform.suggestbox.service.suggesters.UserGroupLookupSuggester" name="searchByUsersAndGroups">
          <parameters>
            <parameter name="userSuggestionsLimit">5</parameter>
            <parameter name="groupSuggestionsLimit">5</parameter>
            <parameter name="searchFields">fsd:dc_creator</parameter>
          </parameters>
        </suggester>

XML Source

<extension point="suggesters" target="org.nuxeo.ecm.platform.suggestbox.service.SuggestionService">

    <suggester class="org.nuxeo.ecm.platform.suggestbox.service.suggesters.DocumentLookupSuggester" name="documentLookupByTitle">
      <parameters>
        <parameter name="providerName">DEFAULT_DOCUMENT_SUGGESTION</parameter>
      </parameters>
    </suggester>

    <suggester class="org.nuxeo.ecm.platform.suggestbox.service.suggesters.DocumentSearchByPropertySuggester" name="searchByKeywords">
      <parameters>
        <parameter name="label">label.searchDocumentsByKeyword</parameter>
        <parameter name="searchField">fsd:ecm_fulltext</parameter>
        <parameter name="iconURL">/img/facetedSearch.png</parameter>
        <parameter name="description"/>
        <parameter name="disabled">false</parameter>
      </parameters>
    </suggester>

    <suggester class="org.nuxeo.ecm.platform.suggestbox.service.suggesters.DocumentSearchByDateSuggester" name="searchByDate">
      <parameters>
        <parameter name="searchFields">fsd:dc_created,fsd:dc_modified</parameter>
        <parameter name="iconURL">/img/facetedSearch.png</parameter>
      </parameters>
    </suggester>

    <suggester class="org.nuxeo.ecm.platform.suggestbox.service.suggesters.UserGroupLookupSuggester" name="searchByUsersAndGroups">
      <parameters>
        <parameter name="userSuggestionsLimit">5</parameter>
        <parameter name="groupSuggestionsLimit">5</parameter>
        <parameter name="searchFields">fsd:dc_creator</parameter>
      </parameters>
    </suggester>

  </extension>